package com.ease.framework.gef {
   import com.ease.framework.workbench.parts.IEditorPart;
   import com.ease.framework.workbench.viewer.IViewer;

   import mx.core.Container;

   public interface IEditor extends IEditorPart {
      function getEditDomain():EditDomain;


      //function createPartControl(ui:UIComponent):void;

      function getViewer():IViewer;

      function getPaletteControl():Container;

      function createModelFactory():IModelFactory;

      function getModelFactory():IModelFactory;

      function createEditPartFactory():IEditPartFactory;

      function getEditPartFactory():IEditPartFactory;

      function createFigureFactory():IFigureFactory;

      function getFigureFactory():IFigureFactory;

      function createAppenderFactory():IAppenderFactory;

      function getAppenderFactory():IAppenderFactory;

      function clear():void;
   }
}